<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsps/common/taglibs.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<base href="<%=basePath%>">
	
	<title>My JSP 'load_client.jsp' starting page</title>
	
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link rel="stylesheet" type="text/css" href='<c:url value="/css/application.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/list.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/form.css"/>'>

	<script type="text/javascript">
		function back(idcardno){
			location.href = 'clientMgr?act=loadPagedClients&idcard_no='+idcardno;
		}	
	</script>
	<style type="text/css">
	body {
			background:url(pics/bg.jpg);
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
		}
</style>
	</head>

	<body>
		<div id="wrapper">
			<div id="f_title">客户信息修改</div>
	
			<div class="f_row">
				<span>客户编号：</span><span>${client.clientNo}</span>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span>操作员编号：</span><span>${client.operCode}</span>
			</div>
			<div class="f_row">
				<span>创建日期</span><span>${client.createDate}</span>
			</div>
			<br />
			<div class="f_row">
				<span>身份证号：</span><span>${client.idcardNo}</span>
			</div>
			<div class="f_row">
				<span>姓名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 
				<span>${client.clientName}</span>
			</div>
			<div class="f_row">
				<span>性别：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 
				<c:if test="${client.clientSex =='B'}">男</c:if>
				<c:if test="${client.clientSex =='G'}">女</c:if>
			</div>
			<div class="f_row">
				<span>联系电话：</span><span>${client.clientPhone}</span>
			</div>
			<div class="f_row">
				<span>电子邮件：</span><span>${client.clientEmail}</span>
			</div>
			<div class="f_row">
				<span>家庭住址：</span><span>${client.clientAddress}</span>
			</div>
			<div class="f_row">
				<span>兴趣爱好：</span><span>${client.clientHobby}</span>
			</div>
			<div class="f_row">
				<button style="height=20px;width=50px" onclick="back('${client.idcardNo}');">返回</button>
			</div>
		</div>
	</body>
</html>
